/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * NewFeedPanel.java
 *
 * Created on 12/07/2010, 22:07:12
 */

package net.jcdev.coolrss.view;

import com.explodingpixels.macwidgets.HudWidgetFactory;

/**
 *
 * @author carlos
 */
public class NewFeedPanel extends javax.swing.JPanel {

    /** Creates new form NewFeedPanel */
    public NewFeedPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lblFeedURL = HudWidgetFactory.createHudLabel("Label");
        txtFeedURL = HudWidgetFactory.createHudTextField("Text field");
        lblFeedCategory = HudWidgetFactory.createHudLabel("Label");
        jComboBox1 = HudWidgetFactory.createHudComboBox(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        btnNewCategory = HudWidgetFactory.createHudButton("Button");
        btnFinish = HudWidgetFactory.createHudButton("Button");
        btnCancel = HudWidgetFactory.createHudButton("Button");

        lblFeedURL.setText("jLabel1");

        txtFeedURL.setText("jTextField1");

        lblFeedCategory.setText("jLabel1");

        java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("net/jcdev/coolrss/resources/index"); // NOI18N
        btnFinish.setText(bundle.getString("btn_finish_add_feed")); // NOI18N

        btnCancel.setText(bundle.getString("btn_cancel_add_feed")); // NOI18N

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(layout.createSequentialGroup()
                        .add(lblFeedURL)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(txtFeedURL, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 327, Short.MAX_VALUE))
                    .add(layout.createSequentialGroup()
                        .add(lblFeedCategory)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 234, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                        .add(btnNewCategory, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE))
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                        .add(btnCancel)
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                        .add(btnFinish)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(lblFeedURL)
                    .add(txtFeedURL, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(lblFeedCategory)
                    .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(btnNewCategory))
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 24, Short.MAX_VALUE)
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                    .add(btnFinish)
                    .add(btnCancel))
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCancel;
    private javax.swing.JButton btnFinish;
    private javax.swing.JButton btnNewCategory;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JLabel lblFeedCategory;
    private javax.swing.JLabel lblFeedURL;
    private javax.swing.JTextField txtFeedURL;
    // End of variables declaration//GEN-END:variables

}
